package com.bjbn.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 获取定时任务cron表达式
 */
@Component
@ConfigurationProperties(prefix = "task.schedule")
public class ScheduleConfig {
    private String thsCron;
    private String lxCron;
    private String elevatorCron;
    private String walkwayCron;

    public String getThsCron() {
        return thsCron;
    }

    public void setThsCron(String thsCron) {
        this.thsCron = thsCron;
    }

    public String getLxCron() {
        return lxCron;
    }

    public void setLxCron(String lxCron) {
        this.lxCron = lxCron;
    }

    public String getElevatorCron() {
        return elevatorCron;
    }

    public void setElevatorCron(String elevatorCron) {
        this.elevatorCron = elevatorCron;
    }

    public String getWalkwayCron() {
        return walkwayCron;
    }

    public void setWalkwayCron(String walkwayCron) {
        this.walkwayCron = walkwayCron;
    }

}
